window.onload = function () {
    var tel = document.querySelector('#tel');
    var pwd = document.querySelector('#pwd');
    var over = document.querySelector('.over');

    over.addEventListener('click', function () {
        if (pwd.value == '123456' && (tel.value == '13692746066' || tel.value == '1007009485@qq.com')) {
            window.alert("登录成功！");
            window.location.href = "index.html";
        }
        else
            window.alert("账号密码错误！");
    })
}